package com.missilike.repository.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2019-01-08
 */
public class MilWithdrawRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 提现账户Id
     */
    private String accountId;

    /**
     * 提现糜金总额
     */
    private BigDecimal withdrawTotal;

    /**
     * 折合人民币总额
     */
    private BigDecimal cashTotal;

    /**
     * 提现时的比率
     */
    private BigDecimal withdrawRatio;

    /**
     * 提现平台,1支付宝，2微信
     */
    private Integer platform;

    /**
     * 提现状态
     */
    private Integer withdrawStatus;

    private LocalDateTime createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public BigDecimal getWithdrawTotal() {
        return withdrawTotal;
    }

    public void setWithdrawTotal(BigDecimal withdrawTotal) {
        this.withdrawTotal = withdrawTotal;
    }

    public BigDecimal getCashTotal() {
        return cashTotal;
    }

    public void setCashTotal(BigDecimal cashTotal) {
        this.cashTotal = cashTotal;
    }

    public BigDecimal getWithdrawRatio() {
        return withdrawRatio;
    }

    public void setWithdrawRatio(BigDecimal withdrawRatio) {
        this.withdrawRatio = withdrawRatio;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public Integer getWithdrawStatus() {
        return withdrawStatus;
    }

    public void setWithdrawStatus(Integer withdrawStatus) {
        this.withdrawStatus = withdrawStatus;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MilWithdrawRecord{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", withdrawTotal=" + withdrawTotal +
        ", cashTotal=" + cashTotal +
        ", withdrawRatio=" + withdrawRatio +
        ", platform=" + platform +
        ", withdrawStatus=" + withdrawStatus +
        ", createTime=" + createTime +
        "}";
    }
}
